set curPath=%cd%
set curPan=%~d0
set project=cinqsoftMes
rem set /p project=Enter the project name to publish:

E:
cd E:\20190328_JavaCode\%project%\ 
del %project%.war
svn update
@ping 127.0.0.1 -n 6 >nul
call ant dist

net use z: \\192.168.2.198\D$ "Cinqsoft1234" /user:administrator
copy %project%.war z: 
net use z: /del

cd %curPan%
cd %curPath%
D:\javasoft\PSTools\psexec.exe \\192.168.2.198 -c .\publishWar111.bat
net use \\192.168.2.198 /delete


